﻿function initUI(){
	var sidebar = $("#sidebar");
	var html = "<table><tbody><tr><td><select id='pictureRepository' multiple='true' style='width:190px;height:130px;'>";
			
	for (var i=0; i < SourceImage.length; i++) {
		html += "<option value='" + SourceImage[i][1] + "'>" + SourceImage[i][3] + "</option>";
	}
	html += "</select></td></tr></tbody></table>";
	sidebar.html(html);
}

$(document).ready(function(){
	initUI();
});
